class ArrayCopy {
	public static void main(String[] args) {
		int[] arr1={10,20,30,40,50};
		int[] arr2=new int[6];

		System.out.println(arr1==arr2);
		System.arraycopy(arr1,0,arr2,1,arr1.length);

		for(int e:arr2) {
			System.out.println(e);
		}
	}
}
